/*
 * @(#)cn.design.pattern.composite 2020/4/18/0018
 *
 * Copy Right@ 人人译视界
 */


package cn.design.pattern.composite;

import com.sun.org.apache.xpath.internal.operations.Or;

/**
 * <pre>
 * @author tuwei
 *
 * @version 0.9
 *
 * 修改版本: 0.9
 * 修改日期: 2020/4/18/0018
 * 修改人 :  tuwei
 * 修改说明: 初步完成
 * 复审人 ：
 * </pre>
 */
public abstract class OrganizationComponent {
	private String name;
	private String des;

	protected void add(OrganizationComponent component) {
	}

	protected void remove(OrganizationComponent component) {
	}

	protected abstract void print();

	public OrganizationComponent(String name, String des) {
		this.name = name;
		this.des = des;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
